#ifndef MINIMAPEDITDIALOG_H
#define MINIMAPEDITDIALOG_H

#include <QDialog>
#include "propdata.h"

namespace Ui {
    class MiniMapEditDialog;
}

class MiniMapEditDialog : public QDialog
{
    Q_OBJECT

public:
    explicit MiniMapEditDialog(PropData *minimapToEdit = 0, QWidget *parent = 0);
    ~MiniMapEditDialog();

signals:
    void newMinimapInfo(PropData *mmap);

private slots:
    void on_mapImgBrowsePushButton_clicked();

    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

    void accept();

private:
    Ui::MiniMapEditDialog *ui;
    PropData *minimap;
};

#endif // MINIMAPEDITDIALOG_H
